package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

//工资信息表
@Getter@Setter
public class Salary {
    private Long id;
    private String name;//姓名
    private String jopNumber;//工号
    private DictionaryBill education;
    private DictionaryBill title;//学历
    private BigDecimal salary;//基本工资
    private BigDecimal bouns;//奖金
    private BigDecimal overTimePay;
    private BigDecimal deductMoney;//扣款
    private BigDecimal realSalary;//应发工资
    private BigDecimal insurance;//社保
    private BigDecimal funds;//公积金
    private BigDecimal pay;
    private String bankCardNumber;//银行卡号
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date payDate;
    private Long employeeId;
    private Department dept;
}
